Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker Cleanup #815

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Worker Cleanup #815

merged 5 commits into from
Dec 13, 2023

Conversation

peterjan
Copy link
Member

I decided to open this PR because I was at a point where I made a few small changes and everything still compiled... I figured I might as well get this merged already to have a nicer diff in consecutive PRs where I'll try and unit test the upload manager.

The nice thing about these changes is that the upload and download managers are initialised in the same way, with all of their dependencies being nice clean interfaces. This PR adds a (temporary) interface called the ObjectStore. It's temporary because I might split it off into more granular interfaces down the road.

Next step is to mock the Host, HostManager, MemoryManager and ObjectStore which allow us to unit test both uploads and downloads.

@ChrisSchinnerl ChrisSchinnerl merged commit 5081227 into master Dec 13, 2023
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/worker-cleanup branch December 13, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants